package com.goods.common.model.business;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: 赵勇镔
 * @Time: 2021/6/9 16:00
 * @Description: 中间表实体类
 */

@Data
@Table(name = "biz_in_stock_info")
public class StockInfo {

    @Id
    private Long id;

    private String inNum;

    private String pNum;


    private Integer productNumber;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date modifiedTime;

}
